package fxml;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class testmain extends Application {
    private static Stage primaryStage;


    public static void main(String[] args) {
        launch(args);
    }

    @Override
    public void start(Stage primaryStage) throws Exception {
        Parent root = FXMLLoader.load(testmain.class.getResource("ChatMain.fxml"));
        primaryStage.setTitle("welcome to here");
        primaryStage.setResizable(false);
        primaryStage.setScene(new Scene(root,400,700));
        primaryStage.show();
    }
}
